package com.xytc.company.company_backend.adminEndPoint.entity.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 公司基本信息
 */
@Data
@TableName("xy_company_info")
public class CompanyInfoDao {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @TableField("company_name")
    private String companyName;

    @TableField("company_hr")
    private String companyHr;

    @TableField("hr_phone")
    private String hrPhone;

    @TableField("company_address")
    private String companyAddress;

    /**
     * 公司点餐链接
     */
    @TableField("company_order_url")
    private String companyOrderUrl;

    /**
     * 公司合作起始时间，yyyy-MM-dd
     */
    @TableField("company_start_date")
    private String companyStartDate;

    /**
     * 店铺状态
     *
     * 1 上架中
     * 2 已下架
     */
    @TableField("status")
    private Integer status;

    @TableField("del_flag")
    private Integer delFlag;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;
}